package cn.hxsteel.storage.model.po;
// Generated 2013-3-6 17:18:37 by Hibernate Tools 3.2.4.GA



/**
 * 仓库
 */
public class DepotPO  implements cn.hxsteel.storage.model.po.valid.IDepotGroup,java.io.Serializable {


     /**
      * 标识
     */
     private short id;
     /**
      * 上级标识
     */
     private short pid;
     /**
      * 仓库名称
     */
     private String name;
     /**
      * 锁定状态
     */
     private boolean lockState;

    public DepotPO() {
    }

    public DepotPO(short pid, String name, boolean lockState) {
       this.pid = pid;
       this.name = name;
       this.lockState = lockState;
    }
   
    /**       
     *      * 标识
     */
    public short getId() {
        return this.id;
    }
    
    public void setId(short id) {
        this.id = id;
    }
    /**       
     *      * 上级标识
     */
    public short getPid() {
        return this.pid;
    }
    
    public void setPid(short pid) {
        this.pid = pid;
    }
    /**       
     *      * 仓库名称
     */
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    /**       
     *      * 锁定状态
     */
    public boolean isLockState() {
        return this.lockState;
    }
    
    public void setLockState(boolean lockState) {
        this.lockState = lockState;
    }




}


